<div class="container col-thin" ng-init="loginUser = '<{$Think.session.loginUser}>'" ng-controller="selfController">
    <div ng-show="loginUser" class="row wrap-col-cont">
        <div class="col-xs-3 right">
            <img ng-src="__UPLOAD__/{{ user.image_url }}" width="60px" height="60px">
        </div>
        <div class="col-xs-9 col-thin">
            <span class="text-name-black"><{$Think.session.loginUser.user_name}>

            </span>
            <div class="tag-group">
                <span ng-show="user.trust == 2" class="tag-credit">信</span>
                <span class="tag-level-first">甲.V{{ user.level_j }}</span>
                <span class="tag-level-second">乙.V{{ user.level_y }}</span>
            </div>
            <div>
                <span class="span-level">甲方积分：{{ user.level_j_score }}</span>&nbsp;&nbsp;&nbsp;
                <span class="span-level">乙方积分：{{ user.level_y_score }}</span>
            </div>
            <input id="userId" type="hidden" value="<{$user_id}>">
        </div>
    </div>
    <div class="row col-settings">
        <div style="padding-bottom: 15px" class="col-xs-12 col-thin wrap-col-head center">
            <!--<div class="row">-->
                <div class="col-xs-6 right">
                    <a href="<{:U('Self/toFetcher')}>" role="button" class="btn btn-main-short">我要接活</a>
                </div>
                <div class="col-xs-6 left">
                    <a href="<{:U('Self/toPublisher')}>" role="button" class="btn btn-main-short">我要发活</a>
                </div>
            <!--</div>-->

            <!--<if condition="$Think.session.entrance eq '1'">-->
                <!--<else />-->
            <!--</if>-->
            <!--<if condition="$Think.session.entrance eq '1'">-->
                <!--<h6 class="text-tips">传送，去“我要接活”首页！</h6>-->
                <!--<else/>-->
                <!--<h6 class="text-tips">传送，去“我要发活”首页！</h6>-->
            <!--</if>-->
        </div>
    </div>

    <div ng-hide="loginUser" class="center">
        <h5 class="text-tips">使用全部功能请<a href="<{:U('Login/index')}>">&nbsp;登 陆&nbsp;</a>或<a href="<{:U('Register/index')}>">&nbsp;注 册</a></p>
        </h5>
    </div>

    <div ng-show="loginUser" class="col-normal">
        <div class="row">
            <div class="col-xs-12 col-panel-profile">
                <h5>个人信息</h5>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-12 col-thin">
                <ul class="ul-settings">
                    <li>
                        <a href="<{:U('FetcherInfo/index')}>/user_id/<{$Think.session.loginUser.user_id}>">
                            <h4>
                                个人资料
                                <!--<span>基本信息、学历、机构、关注等</span>-->
                            </h4>
                        </a>
                    </li>
                    <li>
                        <a href="<{:U('Resume/index')}>">
                            <h4>
                                简历
                                <!--<span>乙方填写</span>-->
                            </h4>
                        </a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-12 col-panel-profile">
                <h5>管理</h5>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-12 col-thin">
                <ul class="ul-settings">
                    <li>
                        <a href="<{:U('Manage/index')}>">
                            <h4>发的活儿</h4>
                        </a>
                    </li>
                    <li>
                        <a href="<{:U('Manage/recvIndex')}>">
                            <h4>接的活儿</h4>
                        </a>
                    </li>
                    <li>
                        <a href="<{:U('Self/favorite')}>">
                            <h4>收藏的用户/任务</h4>
                        </a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-12 col-panel-profile">
                <h5>设置/说明</h5>
            </div>
        </div>

        <div class="row">
            <div class="col-xs-12 col-thin">
                <ul class="ul-settings">
                    <li>
                        <a href="<{:U('Self/cloak')}>">
                            <h4>
                                隐身状态
                                <!--<span>乙方不接活状态，展开详细解释</span>-->
                            </h4>
                        </a>
                    </li>
                    <li>
                        <a href="<{:U('Self/rank')}>">
                            <h4>等级说明</h4>
                        </a>
                    </li>
                    <li>
                        <a href="<{:U('Self/aboutus')}>">
                            <h4>关于我们</h4>
                        </a>
                    </li>
                    <li class="li-logout">
                        <a href="javascript:;" data-toggle="modal" data-target="#logoutModal">
                            <h4>退出登录</h4>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <!-- Modal Logout -->
    <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="logoutModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">

                </div>
                <div class="modal-body">
                    <h5 class="center">您真的要退出登录吗？</h5>
                </div>
                <div class="modal-footer btn-group-card">
                    <a role="button" href="<{:U('Login/logout')}>" class="btn">退出</a>
                    <button type="button" class="btn" data-dismiss="modal">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>